package tgc.rj.zz.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import org.springframework.data.annotation.CreatedBy;

//用户
@Entity
public class User extends SysUser {
	private String remark;   //备注
	private LesseeAdmin lesseeAdmin;  //租户管理员

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	@ManyToOne
	@CreatedBy
	public LesseeAdmin getLesseeAdmin() {
		return lesseeAdmin;
	}

	public void setLesseeAdmin(LesseeAdmin lesseeAdmin) {
		this.lesseeAdmin = lesseeAdmin;
	}
	
}
